<%-- 
    Document   : List
    Created on : 16-gen-2015, 18.36.46
    Author     : takamflore
--%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Notifications</title>
    </head>
    <body>
    <br>
    <table border="1">
        <thead>
            <tr>
        <th> ID Notification</th>
        <th> Title</th>
        <th> Description </th>
        <th> Users</th>
        <th> Weather</th>
        <th>Action </th>
            </tr>
       </thead>
       <tbody>
        <c:forEach items="${notifications}" var="notification">
            <tr>
                <td><c:out value="${notification.Id}"/></td>
                <td><c:out value="${notification.title}"/></td>    
                <td><c:out value="${notification.description}"/></td>
                <td><c:out value="${notification.users}"/></td>
                <td><c:out value="${notification.Weather}"/></td>
               <p><a href="NotifcationServlet?action=View">View</a></p>
            </tr>
        </c:forEach>
       </tbody>
    </table>
    </body>
</html>
